<!-- .vitepress/components/Counter.vue -->
<template>
  <div>
    <button @click="count++">点我{{ count }}次</button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      count: 0
    }
  }
}
</script>